x86/ACPI: re-park previously parked CPUs upon resume from S3
authorJan Beulich <jbeulich@suse.com>
Fri, 30 Aug 2019 08:24:13 +0000 (10:24 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 30 Aug 2019 08:24:13 +0000 (10:24 +0200)
commiteb912011076e76f6c5e4013616a61ba670e7fc15
tree8a82177942b0ff2535516663775f242d876806d1
parent932f26d9d8825261c5a8c78b113efb6cb2ed2036
x86/ACPI: re-park previously parked CPUs upon resume from S3

Aiui when resuming from S3, CPUs come back out of RESET/INIT. Therefore
they need to undergo the same procedure as was added elsewhere by
commits d8f974f1a6 ("x86: command line option to avoid use of secondary
hyper-threads") and 8797d20a6e ("x86: possibly bring up all CPUs even
if not all are supposed to be used").

Just like done at boot time, avoid (at least pointlessly) using
stop-machine logic.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/common/cpu.c